import Photo from "./photo.vue";

const genre = {
  // 集审照片种类（-1：待分拣照片，1：查勘照片，2：单证照片）',
  ptotoClass: ["-1", "1", "2"],
  // '集审图片分拣分类(ptotoClass为1时(6:查勘照片,7:查勘照片-车辆照片);ptotoClass为2时(1:基本单证))
  ciapTaskType: ["6", "7", "1"],
};
const sortType = [
  {
    id: "0",
    label: genre.ptotoClass[1],
    value: "定损",
    caip: "6",
    photoClass: genre.ptotoClass[1],
    children: [
      {
        id: "00",
        label: "0000",
        parlabel: genre.ptotoClass[1],
        photoClass: genre.ptotoClass[1],
        dispatchItemType: "",
        value: "定损(未分类)",
        caip: "7",
        children: [],
      },
      {
        id: "01",
        label: "3",
        parlabel: genre.ptotoClass[1],
        photoClass: genre.ptotoClass[1],
        dispatchItemType: "3",
        value: "45°",
        caip: "7",
        children: [],
      },
      {
        id: "02",
        label: "6",
        parlabel: genre.ptotoClass[1],
        photoClass: genre.ptotoClass[1],
        dispatchItemType: "6",
        value: "车架号",
        caip: "7",
        children: [],
      },
      {
        id: "03",
        label: "5",
        parlabel: genre.ptotoClass[1],
        photoClass: genre.ptotoClass[1],
        dispatchItemType: "5",
        value: "局部",
        caip: "7",
        children: [],
      },
      {
        id: "04",
        label: "4",
        parlabel: genre.ptotoClass[1],
        photoClass: genre.ptotoClass[1],
        dispatchItemType: "4",
        value: "损失部位",
        caip: "7",
        children: [
          {
            id: "040",
            label: "01",
            value: "全车",
            caip: "7",
            photoClass: genre.ptotoClass[1],
            dispatchItemType: "4",
          },
          {
            id: "041",
            label: "02",
            value: "前部",
            caip: "7",
            photoClass: genre.ptotoClass[1],
            dispatchItemType: "4",
          },
          {
            id: "042",
            label: "03",
            value: "左前部",
            caip: "7",
            photoClass: genre.ptotoClass[1],
            dispatchItemType: "4",
          },
          {
            id: "043",
            label: "04",
            value: "右前部",
            caip: "7",
            photoClass: genre.ptotoClass[1],
            dispatchItemType: "4",
          },
          // {
          //     id:'044',
          //     label:'01',
          //     value:'全车'
          // }
        ],
      },
    ],
  },
  {
    id: "1",
    label: genre.ptotoClass[2],
    photoClass: genre.ptotoClass[2],
    value: "单证",
    caip: "1",
    children: [
      {
        id: "00",
        label: "0000",
        parlabel: genre.ptotoClass[2],
        photoClass: genre.ptotoClass[2],
        dispatchItemType: "",
        caip: "1",
        value: "单证(未分类)",
      },
      {
        id: "10",
        label: "0010",
        parlabel: genre.ptotoClass[2],
        photoClass: genre.ptotoClass[2],
        dispatchItemType: "0010",
        caip: "1",
        value: "驾驶证",
      },
      {
        id: "11",
        label: "0011",
        parlabel: genre.ptotoClass[2],
        photoClass: genre.ptotoClass[2],
        dispatchItemType: "0011",

        caip: "1",
        value: "行驶证",
      },
      {
        id: "12",
        label: "0012",
        parlabel: genre.ptotoClass[2],
        photoClass: genre.ptotoClass[2],
        dispatchItemType: "0012",
        caip: "1",
        value: "身份证",
      },
      {
        id: "13",
        label: "0014",
        parlabel: genre.ptotoClass[2],
        photoClass: genre.ptotoClass[2],
        dispatchItemType: "0014",
        caip: "1",
        value: "银行卡",
      },
      {
        id: "14",
        label: "19999",
        parlabel: genre.ptotoClass[2],
        hotpoClass: genre.ptotoClass[2],
        dispatchItemType: "19999",
        caip: "1",
        value: "三证合一",
      },
    ],
  },
];

export default sortType;
